#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2024/1/15 17:59
# @Author : 闫峰
# @File    : app.py.py
# app.py
from flask import Flask

from mock.charge import cgcharge_bp
from mock.area_ap_manager.urls import area_ap_manager_bp
from mock.third_charge.urls import v1_third_charge_bp
from mock.archive.urls import archive_bp
from mock.schedule_hub_v2_schedule_service import hub_schedule_bp

app = Flask(__name__)
app.register_blueprint(cgcharge_bp)
app.register_blueprint(area_ap_manager_bp)
app.register_blueprint(v1_third_charge_bp)
app.register_blueprint(archive_bp)
app.register_blueprint(hub_schedule_bp)

if __name__ == '__main__':
    # app.run()
    app.run(host='0.0.0.0', port=7469, debug=True)
    # app.run(host='0.0.0.0', port=7467)
    # app.run(host='0.0.0.0', port=7467, debug=True, threaded=False)
